Api.RegisterCallback method

Registers a method that the KINGSTAR Subsystem will call every cycle when new data comes in.

Namespace: IntervalZero.KINGSTAR.OpcUa.Api

Assembly: IntervalZero.KINGSTAR.OpcUa.Api (in IntervalZero.KINGSTAR.OpcUa.Client.dll) Version: 4.4.0.0

Syntax

C#VB
public KsError RegisterCallback()
Public Function RegisterCallback() As KsError

Return value

Type: KsError

A return code of a method.

Remarks

RegisterCallback can be used only in RT interface, because it is a real-time functionality. Calling it in other interfaces will get an errWrongEnvironment error.

Usable EtherCAT states

ecatOP

Examples

C#
N/A

See also

Api Class

IntervalZero.KINGSTAR.OpcUa.Api Namespace